import {ApiProperty} from "@nestjs/swagger";
import {IsNotEmpty} from "class-validator";

export class changeUserDto {
  @ApiProperty({description: '用户名'})
  username?: string

  @ApiProperty({description: '个人简介'})
  description?: string

  @ApiProperty({description: '头像'})
  avatar?: string

  @ApiProperty({description: '密码'})
  password?: string

  @ApiProperty({description: '原密码'})
  rawPassword?: string

  @ApiProperty({description: '新密码'})
  newPassword?: string
}